import React from 'react'
import viewRouterUtils from '@/ui/antd/service/router/utils/viewRouterUtils'
import ViewRouteDto from '@/ui/antd/service/router/types/model/dto/ViewRouteDto'

// 模块
const routes = [
	{
		path: '/captcha-sms/application',
		title: '短信验证码应用',
		icon: 'fa-regular fa-square-check',
		element: viewRouterUtils.lazyLoad(
			React.lazy(() => import('@/ui/antd/pages/main/view/captchaSms/CaptchaSmsApplicationList/CaptchaSmsApplicationList')),
		),
	},
	{
		path: '/captcha-sms/application/extend',
		title: '短信验证码应用配置',
		icon: 'fa-regular fa-square-check',
		element: viewRouterUtils.lazyLoad(
			React.lazy(
				() => import('@/ui/antd/pages/main/view/captchaSms/CaptchaSmsApplicationExtendList/CaptchaSmsApplicationExtendList'),
			),
		),
	},
	{
		path: '/captcha-sms/item/config',
		title: '短信验证码配置',
		icon: 'fa-regular fa-square-check',
		element: viewRouterUtils.lazyLoad(
			React.lazy(() => import('@/ui/antd/pages/main/view/captchaSms/CaptchaSmsItemConfigList/CaptchaSmsItemConfigList')),
		),
	},
	{
		path: '/captcha-sms/item',
		title: '短信验证码',
		icon: 'fa-regular fa-square-check',
		element: viewRouterUtils.lazyLoad(
			React.lazy(() => import('@/ui/antd/pages/main/view/captchaSms/CaptchaSmsItemList/CaptchaSmsItemList')),
		),
	},
] as ViewRouteDto[]

export default routes
